<%@ Page Language="vb" AutoEventWireup="false" Codebehind="custcreate.aspx.vb" Inherits="ccapps.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Customer Creation</title>
		<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
		<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript">
		
		function isNumeric(str)
		// returns true if str is numeric
		// that is it contains only the digits 0-9
		// returns false otherwise
		// returns false if empty
		{
			var len= str.length;
			if (len==0)
				return false;
			//else
			var p=0;
			var ok= true;
			var ch= "";
			while (ok && p<len)
			{
				ch= str.charAt(p);
				if ('0'<=ch && ch<='9')
				p++;
				else
				ok= false;
			}
			return ok;
		}

		function numericValue(str)
		// returns the numeric value of str (which must be all digits)
		{
			
			if (isNumeric(str)==false)
			{
				alert("Please enter numeric value!!!");
				document.all("TextBox2").focus();
				return "NaN";
			}
		}
		</script>
	</HEAD>
	<body bgColor="white" MS_POSITIONING="GridLayout">
		<form id="Form1" action="Form1" LANGUAGE="javascript" onsubmit="return isnumeric(txt_search)"
			method="post" runat="server">
			<asp:textbox id="TextBox1" style="Z-INDEX: 100; LEFT: 192px; POSITION: absolute; TOP: 176px"
				runat="server" Height="26" Width="168px" tabIndex="1"></asp:textbox>
			<asp:Image id="Image2" style="Z-INDEX: 116; LEFT: 0px; POSITION: absolute; TOP: 0px" runat="server"
				Width="158px" Height="92px" ImageUrl="IMAGES/AVEA.JPG"></asp:Image>
			<asp:image id="Image1" style="Z-INDEX: 112; LEFT: 120px; POSITION: absolute; TOP: 8px" runat="server"
				Width="606px" Height="84px" ImageUrl="images/CREATION.JPG"></asp:image>
			<asp:HyperLink id="HyperLink2" style="Z-INDEX: 115; LEFT: 640px; POSITION: absolute; TOP: 128px"
				runat="server" Width="80px" Height="16px" NavigateUrl="giris.aspx" ForeColor="Indigo" Font-Size="10pt"
				Font-Names="Tahoma" Font-Bold="True">Home Page</asp:HyperLink>
			<asp:HyperLink id="HyperLink1" style="Z-INDEX: 114; LEFT: 520px; POSITION: absolute; TOP: 128px"
				runat="server" Width="128px" Height="16px" Font-Bold="True" Font-Names="Tahoma" Font-Size="10pt"
				ForeColor="Indigo" NavigateUrl="Query.aspx">Query Page</asp:HyperLink><asp:button id="Btncancel" style="Z-INDEX: 111; LEFT: 264px; POSITION: absolute; TOP: 296px"
				runat="server" Height="32px" Width="96px" ForeColor="SteelBlue" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True" Text="Clear Form" tabIndex="5"></asp:button><asp:button id="btncreate" style="Z-INDEX: 110; LEFT: 152px; POSITION: absolute; TOP: 296px"
				runat="server" Height="32px" Width="96px" ForeColor="SteelBlue" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True" Text="Create" tabIndex="4" Enabled="False"></asp:button><asp:datagrid id="DG_CUST" style="Z-INDEX: 109; LEFT: 368px; POSITION: absolute; TOP: 176px" runat="server"
				Height="72px" Width="440px" BorderColor="BurlyWood" AutoGenerateColumns="False" Visible="False">
				<AlternatingItemStyle Font-Size="9pt" HorizontalAlign="Center" ForeColor="DarkBlue" BackColor="#D0CA89"></AlternatingItemStyle>
				<ItemStyle Font-Size="9pt" Font-Names="Verdana" HorizontalAlign="Center" ForeColor="DarkBlue"
					BackColor="LemonChiffon"></ItemStyle>
				<HeaderStyle Font-Size="10pt" Font-Names="Verdana" Font-Bold="True" HorizontalAlign="Center"
					ForeColor="Orange" BackColor="DarkCyan"></HeaderStyle>
				<Columns>
					<asp:BoundColumn DataField="rownum" HeaderText="NO">
						<HeaderStyle HorizontalAlign="Center" Width="20px"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="custcode" HeaderText="CUSTCODE">
						<HeaderStyle HorizontalAlign="Center" Width="100px"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="CNAME" HeaderText="COMPANY NAME">
						<HeaderStyle HorizontalAlign="Center" Width="150px"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
				</Columns>
			</asp:datagrid><asp:label id="Lbl_date" style="Z-INDEX: 108; LEFT: 288px; POSITION: absolute; TOP: 128px"
				runat="server" Height="24px" Width="73px" ForeColor="DarkOrange" Font-Size="10pt" Font-Names="Tahoma"
				Font-Bold="True"></asp:label><asp:label id="Label6" style="Z-INDEX: 107; LEFT: 240px; POSITION: absolute; TOP: 128px" runat="server"
				Height="24px" Width="40px" ForeColor="Teal" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True">Date :</asp:label>
			<asp:textbox id="TextBox2" style="Z-INDEX: 103; LEFT: 192px; POSITION: absolute; TOP: 224px"
				runat="server" Height="26" Width="168px" tabIndex="2" onblur="numericValue(this.value)"></asp:textbox>
			<asp:label id="Label2" style="Z-INDEX: 102; LEFT: 40px; POSITION: absolute; TOP: 232px" runat="server"
				Height="24px" Width="136px" ForeColor="Black" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True">No of Subscriber</asp:label><asp:label id="Label1" style="Z-INDEX: 101; LEFT: 40px; POSITION: absolute; TOP: 184px" runat="server"
				Height="24px" Width="136px" ForeColor="Black" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True">Company Custcode </asp:label><asp:button id="Button1" style="Z-INDEX: 104; LEFT: 40px; POSITION: absolute; TOP: 296px" runat="server"
				Height="32px" Width="96px" ForeColor="SteelBlue" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True" Text="Check" tabIndex="3"></asp:button>
			<asp:label id="Label3" style="Z-INDEX: 105; LEFT: 40px; POSITION: absolute; TOP: 128px" runat="server"
				Height="24px" Width="40px" ForeColor="Teal" Font-Size="10pt" Font-Names="Tahoma" Font-Bold="True">Merhaba</asp:label>
			<asp:label id="lbl_user" style="Z-INDEX: 106; LEFT: 104px; POSITION: absolute; TOP: 128px"
				runat="server" Height="24px" Width="73px" ForeColor="DarkOrange" Font-Size="10pt" Font-Names="Tahoma"
				Font-Bold="True"></asp:label>
			<asp:label id="Lblok" style="Z-INDEX: 113; LEFT: 40px; POSITION: absolute; TOP: 368px" runat="server"
				Height="24px" Width="520px" ForeColor="#C00000" Font-Size="10pt" Font-Names="Tahoma"></asp:label></form>
	</body>
</HTML>
